package com.refuel.domain;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * @author zhanghao
 * @description
 * @date 2024/5/10 11:46
 **/
@Schema(description = "奖品定义")
public class Prize {

    /**
     * 奖品类型
     */
    @Schema(description = "奖品类型", example = "一等奖/二等奖/三等奖/幸运奖")
    private String type;

    /**
     * 奖品名称
     */
    @Schema(description = "奖品名称", example = "联盟商品卡")
    private String name;

    /**
     * 奖品数量
     */
    @Schema(description = "奖品数量", example = "2个")
    private String quantity;

    /**
     * 奖品数量
     */
    @Schema(description = "奖品子项")
    private List<SubPrize> subPrizes;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public List<SubPrize> getSubPrizes() {
        return subPrizes;
    }

    public void setSubPrizes(List<SubPrize> subPrizes) {
        this.subPrizes = subPrizes;
    }
}
